Preparation and Characterization of NiO Nanowires via Single-Phase Precipitation