Characterization of the photoelectron behavior of working electrodes modified with a titanium-dioxide window layer in dye-sensitized solar cells