Diagnosis and location of faults in submarine power cables