Donald Trump is playing a dangerous game in alienating intelligence agencies