The events around Queen Elizabeth's death have unfolded with an astonishing amount of formal, choreographed movement.