Investigation on the magnetocaloric effect in DyNi2, DyAl2 and Tb1?nGdnAl2 (n=0, 0.4, 0.6) compounds