What were the connections between the institution of slavery and the imperial system of the eighteenth century?