Study on the DFT-based phasor estimation algorithm for removal of the decaying DC offset