North Korea says it now has the technology to build nuclear warheads small enough to fit on missiles.