Spectroscopic ellipsometry studies of Mg‐doped ZnO thin films prepared by the sol–gel method