Prosecutors said he provided classified national defense information to Russian intelligence operatives for years, betraying the United States.