An Offset Compensation Method With Low Residual Drift for Integrated Thermal Flow Sensors