Doped TiO2 slabs for water splitting: a DFT study