Capacitor voltage control in single-phase three-level PWM converters