Calculation of pKas in RNA: on the structural origins and functional roles of protonated nucleotides.