Method for Measuring the Sensitivity of Nuclear-Resonance Magnetometers with Flowing Liquid