Statistics for Electrochemistry of the Double Layer: Principles and Applications to Soils