Cosmological Implications of Quantum Anomalies