The lepidocrocite–maghemite–haematite reaction chain—I. Acquisition of chemical remanent magnetization by maghemite, its magnetic properties and thermal stability