A DFT study of the effect of SO4 groups on the properties of TiO2 nanoparticles.