Wroughton, Thomas, Sir, active 1761-1821, Envoy at Stockholm