Neutralization reaction in synthesis of carbon materials for supercapacitors