Phenological sensitivity to temperature mediates herbivory