Synthesis of ternary metal oxides as positive electrodes for Mg-Li hybrid ion batteries.