Stress-Induced Phase Transformations in Shape-Memory Polycrystals