Senior members of the royal family who hold military rank will attend Prince Philip's funeral in mourning dress instead