Quasi-solid-state dye-sensitized solar cell with ionic polymer electrolyte