Historic power outage cripples Spain and Portugal