Interactive effect of hysteresis and surface chemistry on gated silicon nanowire gas sensors.