UN chief warns slavery's legacy 'haunts us to this day'