Trump and Xi strike cordial tone at summit amid underlying tensions