Spanish officials said intelligence suggests that groups in Russia and Venezuela spread misinformation before and after Catalonia's referendum.