Substrate-Assisted in Situ Confinement Pyrolysis of Zeolitic Imidazolate Frameworks to Nitrogen-Doped Hierarchical Porous Carbon Nanoframes with Superior Lithium Storage.