US and China reach deal to slash tariffs