Richer and Cleaner? A Study on Carbon Dioxide Emissions in Developing Countries