Tuning of defects in ZnO nanorod arrays used in bulk heterojunction solar cells