Small random perturbations of finite- and infinite-dimensional dynamical systems: Unpredictability of exit times