Phase transition-induced magnetocaloric effects in R2Mo2O7 (R = Er, Dy, Gd and Y) molybdates