Influence of nanocrystallization on the magnetocaloric properties of Ni-based amorphous alloys: determination of critical exponents in multiphase systems