The challenge of maximizing the foreign tax credit on qualified dividends