On the R-phase transformation related phenomena in NiTi polycrystals subjected to thermomechanical loads