Carbon-doping effects on the metamagnetic transition and magnetocaloric effect in MnAsC(x)