electromagnetic flow meter principle