Stabilizing nickel-rich layered oxide cathodes by magnesium doping for rechargeable lithium-ion batteries† †Electronic supplementary information (ESI) available: Experimental section, additional figures, tables as mentioned in the text. See DOI: 10.1039/c8sc03385d