Candidate Selection Rules and Democratic Outcomes: The Impact of Parties on Women’s Representation