Influence of moisture absorption on the synthesis and properties of Y2O3-MgO nanocomposites