Cation distribution and valence in synthetic Al–Mn–O and Fe–Mn–O spinels under varying conditions