Self-capacitor voltage balancing method for optimally hybrid modulated cascaded H-bridge D-STATCOM