The Souza-Auricchio model for shape-memory alloys