South Korea accepts North's offer to talk