Thermally induced cation ordering in $$\hbox {ZnAl}_{2}\hbox {O}_{4}{:}\hbox {Mg}^{2+}$$, $$\hbox {Fe}^{3+}$$ for sensing thermal history through photoluminescence