Thermomagnetic properties and magnetocaloric effect of TmFe2 compound