A two-step sol-gel method for synthesis of nanoporous TiO2.