C–V calculations in CdS/CdTe thin films solar cells