Procedure for the measurement of the electrical parameters of railway traction lines