Clarke, William, Sir, active 1798-1804, Envoy at Goa