US says ex-intel official defected to Iran, revealed secrets