working principle of magnetic separator