Energetic effects of magnesium in the recognition of adenosine nucleotides by the F(1)-ATPase beta subunit.