Baker, Antony St. John, active 1805-1828, Consul-General at Washington