Investigation of Ion Transport and its Effect on the Photovoltaic Performance in the Quasi-Solid State Dye-Sensitized Solar Cells