Substrate interaction dynamics and oxygen control in the active site of thymidylate synthase ThyX.