Dye-sensitized solar cells using TiO2 nanoparticles transformed from nanotube arrays