A method and device for the separation of particles