A two-state model for noise induced resonance in bistable systems with delay