Damping of nuclear collective and single-particle motion