South Africa enacts carbon tax