Field dependence of the magnetocaloric effect in core-shell nanoparticles