2D MoS2 as an efficient protective layer for lithium metal anodes in high-performance Li–S batteries