Proton binding to humic substances. 1. Electrostatic effects