The distribution of empirical periodograms: Lomb-Scargle and PDM spectra