A micromechanics-inspired constitutive model for shape-memory alloys