Cobalt magnetic nanoparticles embedded in carbon matrix: biofunctional validation