Heteroatom distribution in pyrolysis products as a function of heating rate and pressure