Modeling thermomechanical phase transformations between austenite and a two variant martensite