Proton transfer reactions of methylglyoxal synthase.