Sn Nanoparticles Encapsulated in 3D Nanoporous Carbon Derived from a Metal-Organic Framework for Anode Material in Lithium-Ion Batteries.