Structural, magnetic, and magnetothermal properties of R2Co2Al (R = Tb, and Dy) compounds