Link between Alkali Metals in Salt Templates and in Electrolytes for Improved Carbon-Based Electrochemical Capacitors