Composite Ni-TiO2 nanotube arrays electrode for photo-assisted electrolysis