William Monteith — British soldier, diplomatist and historian