The magnesium doping effect of the vanadate spinel MnV2O4