Higher-dimensional homogeneous cosmological models as autonomous dynamical systems