Stability of submerged diffusion flames in subsonic and underexpanded supersonic gas-fuel streams