Flame enhancement and quenching in fluid flows