Sensors for temperature and humidity