Role of methoxyl group in char formation from lignin-related compounds