Optimization of ultrasound-assisted removal of crystal violet dye, Cu(II), and Cd(II) ions by magnetic CoFe2O4 nanoparticles using central composite design