New South Korean President Moon Jae-in says he would be willing to visit rival North Korea under the right conditions.