Rapid prototyped porous nickel-titanium scaffolds as bone substitutes