Structural, microstructural, and optical properties of Zn1−xMgxO thin films grown onto glass substrate by ultrasonic spray pyrolysis