King Charles and Queen Camilla have expressed condolences after a fire at CFB Wainwright in Alberta killed four service members and injured 39 during a training exercise.