how are metal slags made