Understanding the pyrolysis of CCA-treated wood: Part I. Effect of metal ions