Stability of Flame-Shock Coupling in Detonation Waves: 1D Dynamics