Analysis of the characteristics of electromagnetic flow meters in natural gas pipelines