Quantum Statistical Theory of Superconductivity in MgB2