Determination of nucleobase-pairing free energies from rotamer equilibria of 2-(methylamino)pyrimidines.