Role of surface chemistry on electric double layer capacitance of carbon materials