Interpretation of the optical and photoemissive properties of CdTe