Isospin identification for highly-excited Gamow—Teller and M1 states in mirror nuclei