In vitro and in vivo behaviour of a NiTi shape memory alloy