Magnetothermal properties and magnetocaloric effect in ErFe2 compound