China has retaliated after the US imposed 10% tariffs on goods from Beijing.