Ionic liquid thermal stability: implications for cellulose regeneration