Digitally controlled linear-in-dB variable-gain amplifier for high-frequency applications