Alternative production of NiTi and NiTiCu alloys