North Korea declares itself a nuclear weapons state