Highly reversible lithium metal anode and lithium-sulfur batteries enabled by an intrinsic safe electrolyte.