How Political Parties Shape Public Opinion