Spatial heterogeneity in species composition constrains plant community responses to herbivory and fertilisation