Adapting to climate change could cost developing countries $340 billion by the end of the decade