Harmonic Mitigation Technique for Multilevel Inverters in Power Systems