p-Doping limit and donor compensation in CdTe polycrystalline thin film solar cells