Three-dimensional carbon material as stable host for dendrite-free lithium metal anodes