Text this: Effect of preparation method on the microstructure and optical properties of Y2O3–MgO composite ceramics