Resistance and resilience of a grassland ecosystem to climate extremes