Integral photon parameter characterization of infrared photodiodes