Demographic aspects of climate change mitigation and adaptation