Structure of small TiCn clusters: A theoretical study