North Korea to rejoin six-nation talks