Effects of Several Factors on the Ductility of the Ti-Ni Alloy