A history of how the threat of climate change has been used to explain the world since antiquity