Global mode-based control of laminar and turbulent high-speed jets