Synthesis and Characterization of Nanostructured Titania Films for Dye-Sensitized Solar Cells