Markov chain modelling of pitting corrosion in underground pipelines