The optimization of welding regimes for obtaining corrosion resistant welded constructions