A two-step along-track spectral analysis for estimating the magnetic signals of magnetospheric ring current from Swarm data