what is the use of a magnetic separation