Europe’s solar panels produced 17% more power during the summer’s heat waves than they normally do, stabilizing the grid as afternoon cooling demand climbed.