A hyperbolic model of multiphase flow