Mechanical properties and advanced subjects in shape memory alloys and polymers