Stability analysis and control of the flow in a symmetric channel with a sudden expansion