Quasiparticle resonances in the BCS approach