Biosynthesis of plant secondary metabolites