How BRICS nations can respond to trade wars