Iran, North Korea face greater isolation, warns Obama