Synthesis, growth mechanism and gas-sensing properties of large-scale CuO nanowires