Macroevolution and the biological diversity of plants and herbivores