Doping profiles in CdTe/CdS thin film solar cells