Atom-efficient synthesis of a benchmark electrolyte for magnesium battery applications.