A Rotating-Coil Magnetometer for Scanning Transversal Field Harmonics in Accelerator Magnets