Robust consensus algorithm for second-order multi-agent systems with external disturbances