Possible cosmological implications of the quark-hadron phase transition