Porous germanium with Ag nanoparticles formed by ion implantation