A review of NiTi shape memory alloy as a smart material produced by additive manufacturing