Robust detection of nonlinearity in financial time series