The Effect of Foreign Direct Investment on Economic Growth, Carbon Emission, and Social Welfare: A Cross-Country Study