Reducing inter-pixel crosstalk in HgCdTe detectors