Effect of the rotational-diffusion motion on the optical properties of an assembly of axially-symmetric particles