On the Resonant-Cavity Method for Measurement of Varactors