Effects of thermomechanical treatments on the martensitic transformation and critical stress of Ti–50.2 at.% Ni alloy