Characterization of chars from pyrolysis of lignin