Consensus in group decision making and social networks