Phylogenetic analysis of secondary metabolites in a plant community provides evidence for trade-offs between biotic and abiotic stress tolerance