Surgeon James Ramsay, 1733-1789: the Navy and the slave trade