Joule heating of solid wires in MAG welding