Investigations on multimagnetron sputtered Zn1−xMgxO thin films through metal-ferroelectric-semiconductor configuration