Occurrence of Harmonics with Induction Machine and Switched Reluctance Machine: A Survey and Analysis