A method of measuring the depth of the penetration channel during electron-beam welding