Capital Market Imperfections and Trade Liberalization in General Equilibrium