Phase transformations in a Ti50Ni47.5Fe2.5 shape memory alloy