Capital gains treatment for dividends from foreign corporations