The surface properties of TiC(001) and TiC(111) surfaces