Effect of speciation and composition on the kinetics and precipitation of arsenic sulfide from industrial metallurgical wastewater.