On the welding of different materials by a diode laser