pH of simple ampholytes and related compounds. A general, always-converging, iterative algorithm.