Deformation induced martensite stabilization of NiTi in constrained composite systems