How to compensate for the temperature effect on electromagnetic flowmeters?