Carbon-coated SnO2@C with hierarchically porous structures and graphite layers inside for a high-performance lithium-ion battery