Measuring the costs of climate change