Characteristics of glyme electrolytes for sodium battery: nuclear magnetic resonance and electrochemical study