Leakage currents and self-discharge of ionic liquid-based supercapacitors