Double-shift schooling: design and operation for cost-effectiveness