A Remote Nuclear-Resonance Magnetometer for Measuring Intense Nonuniform Fields