Quaternary ammonium polyiodides as ionic liquid/soft solid electrolytes in dye-sensitized solar cells