The UN has adopted a Ghana-led resolution recognising transatlantic slavery as the “gravest crime against humanity”.