Wastewater treatment using Mg-doped ZnO nano-semiconductors: A study of their potential use in environmental remediation