Optimized Electrolyte with High Electrochemical Stability and Oxygen Solubility for Lithium–Oxygen and Lithium–Air Batteries