Self-buffered pH at carbon surfaces in aqueous supercapacitors