thermal mass flow meter working theory