FDTD simulation of compositionally graded HgCdTe photodetectors