Preparation and characterization of NiO nanorods by thermal decomposition of NiC2O4 precursor