Stability of whirling shafts with internal and external damping