Electric resistance monitoring as a method for controlling shape memory alloy characteristics during shape-setting treatments in the furnace