Formation of metal nanoparticles in silicon nanopores: Plasmon resonance studies