Magnetocaloric effect in the vicinity of the magnetic phase transition in NdCo2−xFex compounds