Magnetic particle handling in microfluidic systems