Impact of pretreatment methods on production of bioethanol and nanocrystalline cellulose