Text this: Electrical and photoelectric properties of heterostructures NiO/p-CdTe and NiO/n-CdTe