Optoelectrical studies of ZnO