Sulfur K-edge XAS study of sulfur transformation behavior during pyrolysis and co-pyrolysis of biomass and coals under different atmospheres