Direct Simulation of Multiphase Flows with Density Variations