Photo-induced electrochemical functionality of the TiO2 nanoscale films