Thermomechanical Properties of Shape-Memory Alloy and Polymer and Their Composites