Cities in Asia and the United States emit the most heat-trapping gas that feeds climate change, and Shanghai is the most polluting.