US President Joe Biden said in his first speech to Congress that he will work closely with US allies to address threats posed by Iranian and North Korean nuclear programs "through diplomacy and stern deterrence."