CO and CO2 sensors