China warns of ‘firm counter measures’ after Trump signs U.S. legislation on Hong Kong