Optimizing n-ZnO/p-Si heterojunctions for photodiode applications