Synthesis of Ni-Doped ZnO Nanorod Arrays by Chemical Bath Deposition and Their Application to Nanogenerators