Spanish soldiers are setting up temporary shelters for homeless people in a country where more than 10,000 people have now died