Preparing BiOI photocatalyst for degradation of methyl blue in wastewater