A current-sensing electromagnetic flowmeter for two-phase flow and numerical simulation of the three-dimensional virtual potential distribution: I. Fundamentals and annular flow