Optical properties of Cu and Ag nanoparticles synthesized in glass by ion implantation