Size distribution of particles in planetary rings