Stabilization and enhanced energy gap by Mg doping in ε-phase Ga2O3 thin films