Sol–gel S-doped TiO2 materials for environmental protection