Rational synthesis approaches to metal nanoparticles and polymer metal nanocomposites