Monte carlo treatment of displacement damage in bandgap engineered HgCdTe detectors