Laminar, transitional, and turbulent flows in rotor-stator cavities