Laser deposition of shape-memory alloy for MEMS applications