Transient heat transfer effects on the pseudoelastic behavior of shape-memory wires