Russia and Iran made ‘desperate efforts’ to affect election, US officials state