Variation in the shape recovery temperature in NiTi alloys