How is the measuring range of a magnetic flowmeter determined?