Defect-concentration dependence of electrical transport mechanisms in CuO nanowires