Photoelectrochemical and photocatalytic properties of multilayered TiO2 thin films with a spinodal phase separation structure prepared by a sol-gel process