‘Grandstanding’: US, China trade rebukes in testy talks