25 ns software correlator for photon correlation spectroscopy