do hardwired smoke detectors need batteries