Mode matching method for determination of the resonant frequency of a dielectric resonator placed in a metallic box