A new study suggests flexibility in the timing of electricity consumption could lower consumer costs.