Application of profiled ejector in chemical lasers