A method for monitoring the state of, and for locating any detachment of, the protective covering of immersed or buried pipelines or other metal structures subjected to cathodic protection with constant current, on the basis of the overall electrical resistance offered by the pipelin