An Analysis of the Environmental Kuznets Curve for Carbon Dioxide Emissions: Evidence for OECD and Non-OECD Countries