Control of optical nonlinearity of metal nanoparticle composites fabricated by negative ion implantation