Temporal and frequency response of avalanche photodiodes from noise measurements.