Queen to carry out first major ceremonial duty since Philip's death