Interfacial acidities, charge densities, potentials, and energies of carboxylic acid-functionalized silica/water interfaces determined by second harmonic generation.