Peculiarities of thermoelectric half-Heusler phase formation in Gd-Ni-Sb and Lu-Ni-Sb ternary systems