Prince Harry said he understands "the mist of heartbreak" as he surprised bereaved military children on Remembrance Sunday.