What causes high resistivity in CdTe