Density Functional Study on the Structures and Energies of the Ti2C2 Cluster