Phase transitions in shape memory alloys: A non-isothermal Ginzburg-Landau mode