Hydrodynamics of the Cosmological Quark-hadron Transition