Pre dye treated titanium dioxide nanoparticles synthesized by modified sol–gel method for efficient dye-sensitized solar cells