First-principles-based analysis of the influence of Cu on CdTe electronic properties