Particle and droplet size analysis from chord distributions