African leaders pledge to play their part in reducing carbon emissions