1,3-Dioxolane: a Strategy to Improve Electrode Interfaces in Lithium-Ion and Lithium-Sulfur Batteries