Designed synthesis of silver nanoparticles in responsive polymeric system for their thermally tailored catalytic activity towards hydrogenation reaction