Estimating costs of adaptation to climate change