Investigations into the molecular basis of enzyme-catalyzed reactions in natural product biosynthesis