Countries spend more on keeping refugees out than fighting climate change, thinktank says