Lensed CMB power spectra from all-sky correlation functions