is a caterpillar a herbivore carnivore or omnivore