Sir Robert Douglas, 6th Baronet — Scottish genealogist