Beijing says US warship ‘illegally’ entered China’s territorial waters