Intelligent hydrated-sulfate template assisted preparation of nanoporous TiO(2) spheres and their visible-light application.