Magnetic separators for the wood industry