Nonlinear optical response of Mg/MgO structures prepared by laser ablation method