Detecting and adjusting for artifacts in fMRI time series data