Hybrid inverter topology