South Korean president appoints new prime minister