Superelasticity in TiNi Alloys and Its Applications in Smart Systems