Linking protein dynamics to enzyme catalysis