In situ characterization of functional groups of biochar in pyrolysis of cellulose.