C–V dependence of inhomogeneous Schottky diodes