The process by which a new monarch takes the throne in Britain is dictated by centuries of tradition.