Analysis of power supply gain of CMOS bandgap references