Britain's Prince William has described the past year as "brutal" following cancer diagnoses for his wife and father.