Self-assembly of individual polymer chain–metal nanoparticles for polymer cargo nanocomposites with tunable properties