Response of caterpillar larvae to varied nutritional diets