William Beaufort — British judge and genealogist