Rail plan puts North and South Korea on track for closer ties