Hydrothermally derived nanoporous titanium dioxide nanorods/nanoparticles and their influence in dye-sensitized solar cell as a photoanode