Interpretation of C- V measurements for determining the doping profile in semiconductors