Porous TiO2 thin films synthesized by a spray pyrolysis deposition (SPD) technique and their application to dye-sensitized solar cells