The Agency Problem, Trade Liberalization and Within-Firm Productivity Gains: Theory and Evidence∗