The King and Queen of Norway have paid tribute to those lost in the two World Wars at a moving ceremony in London.