Designing the electric transport characteristics of ZnO micro/nanowire devices by coupling piezoelectric and photoexcitation effects