Robust activation detection methods for real-time and offline fMRI analysis