Synthesis, Characterization, and Application of Magnetic Nanocomposites for the Removal of Heavy Metals from Industrial Effluents