Russian hackers have infiltrated the email accounts of British government officials and overseas Foreign Office staff in a major national security breach.