On the mechanism of proton-transfer reactions