King Charles has spoken of his sadness at the dwindling numbers of Holocaust survivors.