Magnetocrystalline anisotropy of YFe11−xCoxTiC