Phase transformations in ternary TiNix alloys