Oxygen flux influence on the morphological, structural and optical properties of Zn1−xMgxO thin films grown by plasma-assisted molecular beam epitaxy