Two-phase flow in microchannels