Computation and measurement of the resonant frequencies and Q factors of high-permittivity dielectric resonators