Analytical pyrolysis and environmental research