Generalized Cooper pairing and Bose-Einstein condensation