The queen’s funeral plans were decades in the making as part of what was codenamed “Operation London Bridge.”