Poor Planning Left California Short of Electricity in a Heat Wave