Design and fabrication of a bending rotation fatigue test rig for in situ electrochemical analysis during fatigue testing of NiTi shape memory alloy wires.