Exploring the self-redox reaction mechanism of Mn-doped Mg2(Ti/Sn)O4 with its precise dopant position