Impulsive Control of Portfolios