The Effects of Political Institutions on the Extensive and Intensive Margins of Trade