Preparation and characterization of cellulose nanoparticles and their application in biopolymeric nanocomposites