Optimization of TiO2 nanowires synthesis using hydrothermal method for hydrogen production