The structural and mechanical characterization of TiC and TiC/Ti thin films grown by DC magnetron sputtering