On methods for determining the composition of pyrolysis products from ablative composites