Compensation and Transfer Pricing in a Principal-Agent Model