Changes in grassland ecosystem function due to extreme rainfall events: implications for responses to climate change