How Interest Groups Influence Elections