Photon correlations in cold atoms