Nanostructured TiO2 thin films by chemical bath deposition method for high photoelectrochemical performance