Demand flexibility models for urban water utilities