Theoretical study of solvent effect on intramolecular proton transfer of glycine