Facile Synthesis of Ultrasmall CoS2 Nanoparticles within Thin N-Doped Porous Carbon Shell for High Performance Lithium-Ion Batteries.