Stabilizing effects of biodiversity on grassland productivity under climate anomalies depend on the communities' resource use strategy