Influence of grain size on gas-sensing properties of chemiresistive p-type NiO nanofibers