The current in electric resistance welding can be regulated by