Loss Comparison of Two- and Three-Level Inverter Topologies