Quantum chemistry study of proton transport in imidazole chains.