Ultrasmall Sn nanoparticles embedded in nitrogen-doped porous carbon as high-performance anode for lithium-ion batteries.