Elephants evolved larger brains partly thanks to climate change, say scientists