Grazing-induced biodiversity loss impairs grassland ecosystem stability at multiple scales