smoke detectors are used to detect smoke