Theoretical and numerical modeling of shape memory alloys accounting for multiple phase transformations and martensite reorientation