Cascaded neutral-clamped inverters with flexible synchronized PWM for photovoltaic installations