Control of laminar and turbulent flows in diffusers by means of multiple contoured cavities