Extreme heat pushed electricity demand to near record levels