Thin films of metal-organic compounds and metal nanoparticle-embedded polymers for nonlinear optical applications