Modeling of torsion fatigue in shape memory alloys