Analysis of dislocations and their correlation with dark currents in CdTe/Si heterojunction diode-type x-ray detectors