Linking international trade and foreign direct investment to CO2 emissions: Any differences between developed and developing countries?