A general approach toward polymer-coated plasmonic nanostructures