Three-dimensional carbon foam decorated with SnO2 as multifunctional host for lithium sulfur batteries.