Royals and politicians have attended a special commemoration for the life of the Duke of Edinburgh at Westminster Abbey.