Electronic properties and double layer of activated carbon