[2402.18839] Extended Flow Matching: a Method of Conditional Generation with Generalized Continuity Equation