Dipolar-driven formation of cobalt nanoparticle chains in polyethylene films