Nuclear-resonance magnetometer with a flowing liquid to measure weak fields