Optical and Raman studies of Zn1-xMgxO ceramic pellets