Steam generation using heat accumulators