Dynamics of hydrogen atom and proton transfer reactions. Symmetric case