An efficient methodology for measurement of the average electrical properties of single one-dimensional NiO nanorods