Endophytic fungi and interactions among host plants, herbivores, and natural enemies