TiO2 nanotubes arrays: synthesis, characterization and application to hydrogen production by photocatalytic water splitting