Why Spain's Socialist Party Won the Catalan Elections