Tailoring one-dimensional photonic crystals with embedded silver nanoparticles