Molecular dynamics of an enzyme reaction: proton transfer in TIM