Optimal strategies for demand charge reduction by commercial building owners