Precision measurement of the transition energy γt versus magnetic rigidity for storage-ring isochronous mass spectrometry