Understanding the phytochemical diversity of plants: Quantification, variation and ecological function