Foreign government reveals embarrassing details of how Trump’s Twitter account was hacked