Text this: Inversion of the thermomechanical response in nitinol under cyclic loading