Ancient to modern metallurgical slags: evolving smelting techniques and their interaction with the environment