Smoke and carbon monoxide detectors