Tre män som misstänks vara medlemmar i al-Qaida har gripits i Spanien. De tros ha förberett ett terrorattentat i Spanien eller Europa.