Single-step electrochemical anodization for synthesis of hierarchical WO3–TiO2 nanotube arrays on titanium foil as a good photoanode for water splitting with visible light