Campbell, William, 1788-1848