Quantitative measurement of the surface charge density