Redox Route from Inorganic Precursor Li2C2 to Nanopatterned Carbon.