The Emergence of Polarized Social Networks via Information Cascades