Properties of nitrogen-doped titanium oxides