Photoluminescence and field-emission characteristics of ZnO nanowires synthesized by two-step method