Advanced methods for the assessment of time varying waveform distortions caused by wind turbine systems. Part I: Teoretical aspects