do hard wired smoke detectors need batteries