Noncontact Measurement of Complex Permittivity and Thickness by Using Planar Resonators