Flow induced emulsification in the flow of two immiscible liquids in horizontal pipes