Investigation of the effect of sol processing parameters on the photoelectrical properties of dye-sensitized TiO2 solar cells