Influence of climate change impacts and mitigation costs on inequality between countries