The Mott mechanism and the hadronic-to-quark matter phase transition