On calculating scanning capacitance microscopy data for a dopant profile in semiconductors