Influence of the crystalline electrical field on the magnetocaloric effect in the series RNi 2 (R=Pr, Nd, Gd, Tb, Ho, Er)