Charles Lawson of Borthwick Hall (d.1874), Lord Provost of Edinburgh (1862–1865)