A kinetic study on the thermal behaviour of chitosan