Recent advance on engineering titanium dioxide nanotubes for photochemical and photoelectrochemical water splitting