The role of phase transition in the fretting behavior of NiTi shape memory alloy