Adaptive Prony Method for an Accurate Analysis of AC Waveform Distortions Caused by Adjustable Speed Drives