Novel characterization of photodiode intermodulation distortion