Single-file diffusion of interacting particles in a one-dimensional channel