Optical and structural properties of sol–gel prepared MgZnO alloy thin films