Toxic gas detector