A widespread blackout across Spain and Portugal upended the lives of millions of people across the Iberian Peninsula