Persistent and reversible solid iodine electrodeposition in nanoporous carbons