Rejection properties of stochastic-resonance-based detectors of weak harmonic signals