First principles calculation of the structure and quantum capacity of acidic functional groups on graphene-based capacitor