Shape memory and phase transitions for auxetic materials