China foreign ministry will make "legitimate responses" to U.S. curbs on diplomats