Characterization of films and interfaces in n-ZnO/p-Si photodiodes