Regulating lithium-ion flux in the solid electrolyte interphase layer to prevent lithium dendrite growth on lithium metal anode