H8 inverter for common-mode voltage reduction in electric drives