Paramagnetic properties of carbon-doped titanium dioxide