Magnetocaloric effect of ErCo2