Electrometric studies and interpretation of electrode potentials and acid dissociation constants in semiaqueous solvents