North Korea fired two ballistic missiles into the sea off its east coast late on Monday, South Korea’s military said, hours after a U.S. nuclear-powered submarine arrived in a naval base in the South.