DC-side Circuit Implementation of a Three-phase Inverter for Balancing Phase-leg Capacitor Currents