Primary elections and electoral outcomes: evidence from the Spanish Socialist Party | Publicación