Text this: Contact technology and energy resolution of CdTe junction detectors