Thermomechanical Investigation of TiNi Shape Memory Alloy and PU Shape Memory Polymer Subjected to Cyclic Loading