Sensors of carbon monoxide and smoke