Study of the aging process of nanostructured porous carbon-based electrodes in electrochemical capacitors filled with aqueous or organic electrolytes