China says it has agreed with US to cancel tariffs in phases