Homeland Security bureau studies lessons of Spain bombings