Method and apparatus for separating parts, in particular seeds, having different densities