Phase transition problems in materials with memory