Enhanced photoreversible color switching of redox dyes catalyzed by barium-doped TiO2 nanocrystals.