Robust thermal control for CMOS-based lab-on-chip systems