Effects of climate change and predator diversity on community structure and ecosystem functions