Integrated amorphous silicon p-i-n temperature sensor for CMOS photonics