Mechanistic studies on the valinomycin-based potassium electrode