Xi tells US China ready to be partner and friend