Low-field method for measuring proton gyromagnetic ratio