Large reversible magnetocaloric effect in the RECoC2 (RE=Ho and Er) compounds