Training and stability of the intrinsic two-way shape memory effect in Ni-Ti alloys