Generalized Low Switching Frequency Modulation for Neutral-Point-Clamped and Flying-Capacitor Four-Level Converters