In South Korea, Turkey's Erdogan agrees to boost ties