Structure and composition study of carbon-doped titanium oxide film combined with first principles