Dundas, Robert, 1758-1819