All optical formation and decomposition of silver nanoparticles in glass