Structure, stability and optical absorption spectra of small TinCx clusters: a first-principles approach