Interaction of Mg2+ ions with nucleoside triphosphates by phosphorus magnetic resonance spectroscopy.