A potentiometric assay of cholinesterase