how long did slavery last in africa