TiO2/ferroelectric heterostructures as dynamic polarization-promoted catalysts for photochemical and electrochemical oxidation of water.