Leader-following consensus for a class of fractional-order nonlinear multi-agent systems under fixed and switching topologies