Two dynamical classes of Centaurs