Confinement induced formation of silver nanoparticles in self-assembled micro-granules