Carnegie, William, British Admiral, 1758-1831