Farquhar, Arthur, Sir, 1772-1843