An effective procedure for the estimation of harmonic parameters of distorted sine-waves