Effect of NiOx’s film thickness on the electrical properties of Ni/p–NiOx/n-Si structures