Modeling of Cyclic Thermomechanical Response of Polycrystalline Shape Memory Alloys