smoke alarms can be used to alert people of a fire