Structural and catalytic properties of mesoporous nanocrystalline mixed oxides containing magnesium