Synthesis and characterization of NiO and Ni nanoparticles using nanocrystalline cellulose (NCC) as a template