Capital-Market Imperfections and Investment