Two-particle correlations from RHIC to LHC with a new method based on the fourier transform