Influence of the Earth’s magnetic field on the diagnosis of steel wire rope by passive magnetic methods