Phase transition over the gauge group center and quark confinement in QCD