Factors influencing proton positions in biomolecules