Time-correlated single-photon counting