Generalized BEC and Crossover Theories of Superconductors and Ultracold Bosonic and Fermionic Gases