Probing and designing electrolyte solvation for lithium batteries