Structural-Phase States and Properties of Weakly Stable Ti–Ni-Based Alloys During Thermal Cycling