A novel green synthesis approach for shape memory polymer nanocomposites decorated with silver nanoparticles