Thresholds of excitability in three-dimensional dynamical systems.