Gravar-mail: A Linearity-Enhanced Time-Domain CMOS Thermostat with Process-Variation Calibration