Role of NOM for precipitation, growth, and aggregation of metal sulfide and silver nanoparticles