Effect of heat treatment on microstructure and functional properties of additively manufactured NiTi shape memory alloys