Ferromagnetic resonance of cobalt nanoparticles in the polymer shell