Numerical simulation of transonic flows in diffusers