Sulfur-doped SnO2 nanoparticles encased in porous carbon derived from a metal-organic framework for lithium-ion battery anodes