Multiscale approach for liquid-gas flow to link homogeneous and separated multiphase flows