Study of cubic and tetragonal structures in the system MnXCr3−xO4