The thin film MIS surface photodiode