South Korea offers to resume talks with north