Ab initio study of the structural stability of fcc-CHx phases