Andrew Duncan, 1744 - 1828. President of the Royal Medical Society and of the Royal College of Physicians