Synthesis and applications of nanoparticles in polymer matrix