Comparative study of hybrid nanostructures of polymer-magnetic nanoparticles