separation of substances magnetic substances