Magnetocaloric effects in RTX intermetallic compounds (R = Gd-Tm, T = Fe-Cu and Pd, X = Al and Si)