Role of magnesium in ZnS structure: Experimental and theoretical investigation