Economic growth and the ending of the transatlantic slave trade