Characterisation of high-temperature arsenic-containing residues from hydrometallurgical processes