U.S. counterspy gives rare warning on foreign meddling in U.S. election