The FBI and other intelligence agencies revealed Monday that they had determined Iran was responsible for hacking the Trump campaign and had made efforts to interfere with both presidential campaigns.