Detecting Communities Using Information Flow in Social Networks