The Turkish president says the murder of journalist Jamal Khashoggi was planned by Saudi officials days in advance.