The atomic structure of a MgCo2O4 nanoparticle for a positive electrode of a Mg rechargeable battery.