In-pixel temperature sensors for dark current compensation of a CMOS image sensor