Charged titanium-doped carbon clusters: Structures and energetics