Degradation sources of CdTe thin film PV: CdCl2 residue and shunting pinholes