Continuous-Mode Inverse Class-GF Power Amplifier With Second-Harmonic Impedance Optimization at Device Input