Effect of MgO doping on the structure and optical properties of YAG transparent ceramics