Cells with anode, cathode and cell electrolyte on the same side of a permeable membrane which separates them from the sample fluid