4D-Printed Resins and Nanocomposites Thermally Stimulated by Conventional Heating and IR Radiation