Welding workpieces essentially comprising layers of different metals