A micromechanical analysis of the coupled thermomechanical superelastic response of textured and untextured polycrystalline NiTi shape memory alloys