China warns US about ‘smears’ and ‘attacks’