Ab initio study of the structure, elastic, and electronic properties of Ti3(Al1−nSin)C2 layered ternary compounds