Double-layer solid-state electrolyte enables compatible interfaces for high-performance lithium metal batteries