Surface chemistry of TiO2 connecting thermal catalysis and photocatalysis.