Two Birds with One Stone: Hydrogel-Derived Hierarchical Porous Activated Carbon toward the Capacitive Performance for Symmetric Supercapacitors and Lithium-Ion Capacitors