Causes and consequences of resisting herbivory