Facile preparation of nanocrystalline TiO2 thin films using electrophoretic deposition for enhancing photoelectrochemical water splitting response