Chaytor, William, Sir, 1771-1847