Effect of lignin on the thermal stability of cellulose nanofibrils produced from bagasse pulp