Tuning the coercive field of Ni and CuNi thin films with the embedding of Co nanoparticles: An element-specific study