A constitutive theory for shape memory polymers. Part II