TiO2 nanoparticles synthesized by the molten salt method as a dual functional material for dye-sensitized solar cells