Silicon avalanche photodiodes as detectors for photon correlation experiments