Herbivory and resource availability shift plant defense and herbivore feeding choice in a seagrass system