Metabolic and functional diversity of saponins, biosynthetic intermediates and semi-synthetic derivatives