Determination of thiols with a specific-ion electrode