How does an electromagnetic flowmeter handle multiphase flow in fluid?