US flight diverted after man threatens to 'take plane down'