A mechanistic non-equilibrium model for two-phase critical flow