The veteran royal biographer was granted special access by the late Queen to private papers.