Correlations between the microscopic and chemical changes in wood during peatification and early coalification: a canonical variant study