Carbon monoxide and smoke detectors