How can the response time of a magnetic flowmeter be optimized?