Water losses and optimal network investments: Price regulation effects with municipalization and privatization