Closed-Loop Temperature Control CMOS Integrated Circuit for Diagnostics and Self-calibration of Capacitive Humidity Sensors