Self-assembled nanostructures in ionic liquids facilitate charge storage at electrified interfaces