Modelling of failure rate of water supply network using the Bayes theorem