A Q-band power amplifier with high-gain pre-driver and 18.7 dBm output power for fully integrated CMOS transmitters