The Duke of York and his daughters were among royals who attended a service at Westminster Hall before the Queen's lying in state officially opened to the public.