A new look at impact ionization-Part II: Gain and noise in short avalanche photodiodes