Ecological-economic optimization of biodiversity conservation under climate change