Apparatus for the detection and analysis of particles in fluids