A general method for the design and fabrication of shape memory alloy active spring actuators