Nicolas Ramsay of Dalhousie, Carnock, Foulden and Kerington