Concept of phase transition of quantum space-time foam