Towards sustainable energy. Photocatalysis of Cr-doped TiO2: 3. Effect of oxygen activity