Steady detonation problem for slow and fast chemical reactions