Phase transformations in NiTi and Ti door