Electrolyte-dependent photovoltaic responses in dye-sensitized solar cells