China threatens to take ‘severe measures’ if US official visits Taiwan