Macroevolution of metabolic and morphological traits in vascular plants