The variation of structural characteristics of macerals during pyrolysis