Crowds of people have gathered around the United Kingdom, including Holyroodhouse in Edinburgh and Buckingham Palace in London, to mourn the loss of the late monarch.