Thousands of migrants reach Spain from Morocco