Study of the wire resistance in gas metal arc welding