Study on the gas evolution and char structural change during pyrolysis of cotton stalk.