Antenna impedance measurements in a magnetized plasma. I. Spherical antenna